<div class="container-fluid notsel">

                <!-- Page Heading -->
                <div class="row">
                    <div class="col-lg-12">
			
                        <ol class="breadcrumb" style="margin-top:8px;position:relative;margin-bottom:5px;">
                            <li>
                                <i class="fa fa-truck"></i>  微信设置
                            </li>
                            <li class="active">菜式展示
                            </li>
                           <div style="position:absolute;right:2%;top:23%;cursor:pointer;">
                			<i class="fa fa-arrow-circle-left fa-lg"   onclick="window.location.href='/cuisine/init'"></i> 
                		</div>                          
                        </ol>
                    </div>
                </div>
                <form method="post" action="/adddingredient">
                
                <div class="row">
					<div class="panel-body">
                            <div class="row">
                                <div class="col-lg-12">
                                    <form role="form">
          								 
          								<div class="form-group">
                     <div class="table-responsive" >
                     	          
                                        <div class="form-group">
                                        <select style="width:100%;font-size:18px;font-weight:bold;" id="week" onchange="window.location.href='/weixinshow/init?week='+this.value">
                                        	<option value="1">星期一</option>
                                        	<option value="2">星期二</option>
                                        	<option value="3">星期三</option>
                                        	<option value="4">星期四</option>
                                        	<option value="5">星期五</option>
                                        	<option value="6">星期六</option>
                                        	<option value="7">星期七</option>
                                        </select>
                                        
                                        </div>
                                        
                                        
                         <table class="table table-hover table-striped" style="margin-bottom:10px;">
                         
                         
                         <tr class="addIngredient">
                         	<td style="font-weight:bold">
                         		点击添加菜式
                         	</td>
                         	<td align="right">
                         			<i class=" fa fa-chevron-down icon-2x"></i>&nbsp;
                         	</td>
                         </tr>
                        	<tr style="background:#f9f9f9;" class="inputIngWin">

            <td>   	    
                <input type="text" class="form-control" name="ingsx" id="ingsx" value="" placeholder="请输入拼音缩写进行过滤">
    </td>

        </tr>
        <tr style="background:#f9f9f9" class="inputIngWin">
        	  <td  colspan="2">
        	  	<div >
  <% cuisines.forEach(function(cuisine, index) { %>
  <div class="grid-item f_in" style="float:left" sx="<%=cuisine.sx %>"  _id="<%=cuisine._id %>"  price="<%=cuisine.price %>" cuisinename="<%=cuisine.name %>"  ><%=cuisine.name %> </div>
<%}) %>     
</div>
        	  </td>
        
        </tr>
        <tr style="background:#f9f9f9;">
        	<td colspan="2">
        		<table class="table table-hover" id="cart" >
        			 <thead>
                                    <tr>
                                   		<th width="20%">名称</th>
                                   		<th width="20%">类型</th>
                                        <th width="20%">状态</th>
                                        <th width="20%">价格</th>
                                        <th width="20%"> </th>
                                    </tr>
                                  		
                                     <tr class="addtr">
                                   		<td colspan="5"><input type="text"  id="ingaddname" />&nbsp;&nbsp;<i class="fa  fa-plus-circle"  style="cursor:pointer;" onclick=" addOtherItem()"></i></td>
                                    </tr>
                                    
                                </thead>
        		</table>
        	</td>
        </tr>
        
        </table>
                        </div>
                                        </div>
                                    </form>
                                </div>

                            </div>
                            <!-- /.row (nested) -->
                        </div>
                </div>
                </form>
            </div>
               <script src="/javascripts/weixinshow/weixinshow.js"></script>
               
                 <script>
        			 <% weixinshows.forEach(function(weixinshow, index) { %>
        			 	var id="<%= weixinshow.csid %>";
        			 	var obj=$(".grid-item[_id='"+id+ "']");
        			 	obj.removeClass("f_in");
						obj.addClass("f_in_sel");
        			     var name="<%= weixinshow.name %>";
        			 	 var type="<%= weixinshow.cstype %>";
        			 	  var dis="<%= weixinshow.dis %>";
                     var price="<%= weixinshow.price %>";
        			 	 addPurchaseItem(id, name, type,dis,price,true);
				<%}) %> 
				$("#week").val(<%= week %>);
				</script>

               
